﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/admin.Master" AutoEventWireup="true"
    CodeBehind="managerMng.aspx.cs" Inherits="Fitment.Admin.managerMng" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="InputContentPlaceHolder" runat="server">
    <asp:Panel ID="Panel1" Height="400px" ScrollBars="Vertical" runat="server">
        <div align="center">
            
            <br />
            <br />
            <br />
            帐号：<asp:TextBox ID="acn_TextBox" runat="server" Width="106px"></asp:TextBox>
            &nbsp;&nbsp;&nbsp; 初始密码：<asp:TextBox ID="pwd_TextBox" runat="server" Width="106px">8888</asp:TextBox>
            &nbsp;&nbsp;&nbsp;
            <asp:Label ID="erro" runat="server" Visible="False" ForeColor="Red"></asp:Label>
            <br />
            <br />
            <asp:Button ID="add_Button" runat="server" Text="添加" OnClick="add_Button_Click" />
            <br />
            <br />
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <div align="center">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowDeleting="GridView1_RowDeleting"
                            CellPadding="4" ForeColor="#333333" GridLines="None" Style="margin-left: 130px">
                            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                            <Columns>
                                <asp:TemplateField HeaderText="账号">
                                    <ItemTemplate>
                                        <asp:Label ID="acn" runat="server" Text='<%# Bind("Account") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                            Text="删除" OnClientClick="javascript:return confirm('删除将无法恢复了哦？');"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                    </ContentTemplate>
                    <Triggers>
                        <asp:PostBackTrigger ControlID="GridView1" />
                    </Triggers>
                </asp:UpdatePanel>
            </div>
        </div>
    </asp:Panel>
</asp:Content>
